<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<f:view>
	<h:head>
		<title>Biblioteca Virtual IDEZ - Area Aluno</title>
		<style type="text/css">
label {
	width: 100px;
	text-align: right;
	display: inline-block;
	*display: inline; /* hack para ie7 */
}

body {
	font-size: 12px;
}

.ui-layout-north {
	z-index: 20 !important;
	overflow: visible !important;;
}

.ui-layout-north .ui-layout-unit-content {
	overflow: visible !important;
}
</style>
	</h:head>
	<body style="height:100%; width:100%;">

		<p:layout fullPage="true">

			<p:layoutUnit position="north" size="80" header="Tela Administrativa"
				closable="true" collapsible="true">

				<h:form>

					<p:menubar autoDisplay="false">
						<p:submenu label="Perfil" icon="ui-icon-document">
							<p:submenu label="Usuário" icon="ui-icon-person">
								<p:menuitem value="Editar" action="#{usuarioBEAN.btnEditar()}" />
							</p:submenu>
							
						</p:submenu>
												
						<p:menuitem value="Livros na Prateleira" url="/telaAlunoPrateleira.xhtml"
							icon="ui-icon-clipboard" />
						<p:menuitem value="Meu Pedido" url="/telaAlunoPedido.xhtml"
							icon="ui-icon-check" />
						<p:menuitem value="Sair" action="#{loginBEAN.sair()}" icon="ui-icon-close" />
					</p:menubar>

				</h:form>

			</p:layoutUnit>
			<p:layoutUnit position="center">
				
					
					<ui:insert name="conteudo">  
					...
					</ui:insert>
					
				
			</p:layoutUnit>

			<p:layoutUnit position="east" size="250" header="Calendário"
				closable="true" collapsible="true">
				<br />
				<h:form>
				<p:calendar mode="center" navigator="none" />
				<br />

				<p:fieldset legend="Usuário">
					<h:graphicImage url="/fotos/usuario/#{loginBEAN.user.id}.jpg" width="80px"
						height="80px" /><br />
					Nome: <h:outputText value="#{loginBEAN.user.nome}" />
						<br />
					Usuário: <h:outputText value="#{loginBEAN.user.login}" />
						<br />
					Curso: <h:outputText value="#{loginBEAN.user.curso}" />
						<br />
					E-Mail: <h:outputText value="#{loginBEAN.user.email}" />
				</p:fieldset>
			</h:form>
			</p:layoutUnit>

		</p:layout>

	</body>
</f:view>
</html>
